﻿@{
    ViewBag.Title = "修改";
}
@model MMS.UI.Areas.Admin.ViewModels.LevelModel
@section headSection{
    <style type="text/css">
        #imgIco {
            width: 16px;
            height: 16px;
            margin-top: 4px;
            display: inline-block;
        }
    </style>
    <script type="text/javascript">
   

        function begin() {
            $.msgBoxObj.showWait("请稍后~~~：）");
        }
        function complete(xhrObj) {
            $.msgBoxObj.hide();
            $.msgProcess(xhrObj.responseText, function () {
                $.globalHelper.closeCommonWindow();//消息显示完毕后，关闭公共窗体
                //刷新datagrid数据
                $.globalHelper.reloadSeletecTabDataGrid();
            });
        }
    </script>
}
@using (Ajax.BeginForm(new AjaxOptions() { OnBegin = "begin", OnComplete = "complete" }))
{
    <table class="tbList">
        <tr>
            <td>@Html.DisplayNameFor(o => o.LName)</td>
            <td>@Html.TextBoxFor(o => o.LName)</td>
            <td>@Html.ValidationMessageFor(o => o.LName)</td>
        </tr>
        <tr>
            <td>@Html.DisplayNameFor(o => o.LUpGradeAmount)</td>
            <td>@Html.EditorFor(o => o.LUpGradeAmount)</td>
            <td>@Html.ValidationMessageFor(o => o.LUpGradeAmount)</td>
        </tr>
        <tr>
            <td>@Html.DisplayNameFor(o => o.LDiscount)</td>
            <td>@Html.EditorFor(o => o.LDiscount)</td>
            <td>@Html.ValidationMessageFor(o => o.LDiscount)</td>
        </tr>
        <tr>
            <td>@Html.DisplayNameFor(o => o.LIntegralRatio)</td>
            <td>@Html.EditorFor(o => o.LIntegralRatio)</td>
            <td>@Html.ValidationMessageFor(o => o.LIntegralRatio)</td>
        </tr>
        <tr>
            <td>@Html.DisplayNameFor(o => o.LRemark)</td>
            <td>@Html.TextBoxFor(o => o.LRemark)</td>
            <td>@Html.ValidationMessageFor(o => o.LRemark)</td>
        </tr>
        <tr>
            <td colspan="3">
                <input type="submit" value="确定修改" />
               
            </td>
        </tr>
    </table>
}
